package com.zhoupeisen;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @ClassName ProductApplication
 * @Description TODO
 * @Author Administrator
 * @Data 下午 03:27
 * @Version 1.0
 **/
//@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
//激活eurekaServer
@EnableEurekaServer
@SpringBootApplication
public class EurekaServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(EurekaServerApplication.class,args);
    }
}
